package com.gzsxy.esjy.service.base.dto.response;

import com.gzsxy.esjy.service.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * @author xiaolong
 * @version 1.0
 * @description: 购物车返回实体
 * @date 2022/2/19 19:01
 */
@Data
@ApiModel
public class CartRsp extends BaseEntity {


    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品ID（外键）")
    private String productId;

    @ApiModelProperty(value = "用户ID（外键）")
    private String userId;

    @ApiModelProperty(value = "数量")
    private Integer number;

    @ApiModelProperty(value = "商品实体")
    private ProductRsp productRsp;

    @ApiModelProperty(value = "商品图片")
    private List<ProductPicRsp> productPic;
}
